package com.athuiju.hr.service;

import com.athuiju.hr.entity.Profiles;
import com.athuiju.hr.entity.vo.ProRessultVo;
import com.athuiju.hr.entity.vo.ProRessultVoQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzh
 * @since 2021-12-15
 */

public interface ProfilesService extends IService<Profiles> {
    /**
     *  在职员工条件分页查询方法 */
    void pageQuery(Page<ProRessultVo> pageSture, ProRessultVoQuery proRessultVoQuery);

    /**
     * 根据id查询员工*/
   List<ProRessultVo> getByid(Integer gradeId);

    /**
     *  离职员工条件分页查询方法 */
   void pageQueryPro(Page<ProRessultVo> pageSture, ProRessultVoQuery proRessultVoQuery);

    /**
     *  离职员工当月离职统计 */
    Integer countPro();

    /**
     *  员工当月入职统计 */
    Integer countFalse();


    List<Profiles> getProId();


    Integer countFalsePro();

    Integer countProSum();
}
